package com.youxin.authserver.common;


import com.youxin.busfoundation.common.BaseExceptionHandler;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.web.ErrorAttributes;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 全局异常类
 * @author yingde.cao
 *
 */

@RestController
@RequestMapping("/error")
public class GlobalExceptionHandler extends BaseExceptionHandler {
	@Autowired
	public GlobalExceptionHandler(ErrorAttributes errorAttributes) {
		super(errorAttributes);
	}
	
}
